package com.ruoyi.system.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @author LYY
 * @desc
 * @time 2024-04-24 15:39
 * desc 角色实体类
 */
public class Characters extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 角色id */
    private Integer charactersId;

    /** 角色名称 */
    @Excel(name = "角色名称")
    private String roleName;

    public void setCharactersId(Integer charactersId)
    {
        this.charactersId = charactersId;
    }

    public Integer getCharactersId()
    {
        return charactersId;
    }
    public void setRoleName(String roleName)
    {
        this.roleName = roleName;
    }
    public String getRoleName()
    {
        return roleName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("charactersId", getCharactersId())
                .append("roleName", getRoleName())
                .toString();
    }

}
